import { SkillCareerPanel } from "./SkillCareerPanel";
import { SkillCareerMapBasePanel } from "./SkillCareerMapBasePanel";
import { SkillCareerInfoBasePanel } from "./SkillCareerInfoBasePanel";
//class SkillCareerBasePanel
    
    export  class SkillCareerBasePanel extends SkillCareerPanel
    {
        constructor()
        {
            super();
            return;
        }

        protected /* override */ creatChirldren(): void
        {
            super.creatChirldren();
            _skillList = new SkillCareerMapBasePanel();
            addChild(_skillList);
            _skillList.addEventListener(flash.events.MouseEvent.MOUSE_DOWN, onSkillMapClickHandler);
            _skillInfo = new SkillCareerInfoBasePanel();
            addChild(_skillInfo);
            return;
        }

        protected /* override */ updateSize(): void
        {
            _skillList.x = 0;
            _skillList.y = 0;
            _skillInfo.x = 256;
            _skillInfo.y = 0;
            return;
        }
    }
